home *** CD-ROM | disk | FTP | other *** search
-
- // JavaScript wrapper for r3cogroup.h
- // Auto generated file, do not modify by hand
- // Copyright ⌐ 2004, Realsoft Graphics Oy
-
- var R3_COGROUP_H = 1;
- include("real/objects/r3constructor.js")
-
-
- var R3CLID_COGROUP = 1759;
-
-
-
-
- // Description: Create group points from the currently selected * target points.
-
- R3COGROUPM_CREATEFROMSELECTE = 1759000;
-
- function mR3COGROUPM_CREATEFROMSELECTE() {
- DoA(this.r3obj, 1759000, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Invert group references - a referred point becomes unreferred and vise versa.
-
- R3COGROUPM_INVERTREFERENCES = 1759001;
-
- function mR3COGROUPM_INVERTREFERENCES() {
- DoA(this.r3obj, 1759001, 0, R3TID_INTEGER, 0);
- }
-
- // Description: Apply XOR boolean operation between referred points. as a result, mutually referred points are
- // removed from the given sub groups.
- // p3: Object, array of groups
-
- R3COGROUPM_XOR = 1759002;
-
- function mR3COGROUPM_XOR(p3) {
- DoA(this.r3obj, 1759002, p3, R3TID_OBJECT, 0);
- }
-
- // Description: Enumerate target points
- // p3: Tag[], R3RA_Hook, R3RA_HookData
-
- R3COGROUPM_ENUMTARGETPOINTS = 1759003;
-
- function mR3COGROUPM_ENUMTARGETPOINTS(p3) {
- Do(this.r3obj, 1759003, p3, R3TID_TAG, R3TNF_ARRAY);
- }
-
- // Description: Select/deselect all target points.
- // p3: Boolean, if true selects, otherwise deselects
-
- R3COGROUPM_SELECTTARGETPOINT = 1759004;
-
- function mR3COGROUPM_SELECTTARGETPOINT(p3) {
- DoA(this.r3obj, 1759004, p3, R3TID_BOOLEAN, 0);
- }
-
-
-
-
- R3COGROUPA_PointCount = 1759501;
- function SetR3COGROUPA_PointCount(value) {
- R3Set(this.r3obj, R3COGROUPA_PointCount, value, R3TID_INTEGER, 0);
- }
-
- function GetR3COGROUPA_PointCount() {
- return R3Get(this.r3obj, R3COGROUPA_PointCount, R3TID_INTEGER, 0);
- }
-
- R3COGROUPA_Positions = 1759502;
- function SetR3COGROUPA_Positions(value) {
- R3Set(this.r3obj, R3COGROUPA_Positions, value, R3TID_VECTOR, R3TNF_ARRAY);
- }
-
- function GetR3COGROUPA_Positions() {
- return R3Get(this.r3obj, R3COGROUPA_Positions, R3TID_VECTOR, R3TNF_ARRAY);
- }
-
- var R3COGROUPA_OrigPositions = 1759503; // r3Vect[]
- R3COGROUPA_Weight = 1759504;
- function SetR3COGROUPA_Weight(value) {
- R3Set(this.r3obj, R3COGROUPA_Weight, value, R3TID_FLOAT, 0);
- }
-
- function GetR3COGROUPA_Weight() {
- return R3Get(this.r3obj, R3COGROUPA_Weight, R3TID_FLOAT, 0);
- }
-
- var R3COGRHT_VERTEX = 0;
-
-
- function r3Cogroup () {
- this.base = r3God;
- if(arguments.length) {
- this.base(R3CLID_COGROUP, arguments);
- }
- // Methods
- this.CREATEFROMSELECTE=mR3COGROUPM_CREATEFROMSELECTE;
- this.INVERTREFERENCES=mR3COGROUPM_INVERTREFERENCES;
- this.XOR=mR3COGROUPM_XOR;
- this.ENUMTARGETPOINTS=mR3COGROUPM_ENUMTARGETPOINTS;
- this.SELECTTARGETPOINT=mR3COGROUPM_SELECTTARGETPOINT;
-
- // Attributes
- this.GetPointCount=GetR3COGROUPA_PointCount;
- this.SetPointCount=SetR3COGROUPA_PointCount;
- this.GetPositions=GetR3COGROUPA_Positions;
- this.SetPositions=SetR3COGROUPA_Positions;
- this.GetWeight=GetR3COGROUPA_Weight;
- this.SetWeight=SetR3COGROUPA_Weight;
- }
-
- r3Cogroup.prototype=new r3Constructor;
- // r3cogroup.h_H